home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / eggrun.swf / scripts / frame_120 / PlaceObject2_346_50 / CLIPACTIONRECORD onClipEvent(load).as < prev   
Encoding:
Text File  |  2007-03-28  |  498 b   |  15 lines

  1. onClipEvent(load){
  2.    this.temp = Math.random();
  3.    this.speed = 5 * this.temp;
  4.    this.yspeed = this.speed + 1;
  5.    this.xspeed = 2 / this.yspeed + 2 * this.temp;
  6.    this.star1.gotoAndPlay(1);
  7.    this.star1.star2.gotoAndPlay(1);
  8.    this._width = this.temp * 5 + 2;
  9.    this._height = this._width;
  10.    this._y = random(300) - 300;
  11.    this._x = random(700) - 300;
  12.    this.star1.gotoAndPlay(2 / (random(15) + random(15)));
  13.    this.star1.star2.gotoAndPlay(2 / (random(20) + random(20)));
  14. }
  15.